package com.kingtao.message;

import lombok.Data;

/**
 * @Author: kingtao
 * @Date: 2023-07-26-16:34
 * @Description:
 */
@Data
public class ClientResponse extends Message{
    String str;
    boolean success;

    public ClientResponse(boolean success) {
        this.success = success;
    }

    public ClientResponse(String str, boolean success) {
        this.str = str;
        this.success = success;
    }

    @Override
    public int getMessageType() {
        return 1;
    }
}
